main: commit: Drop broken --parent option
authorColin Walters <walters@verbum.org>
Tue, 23 Jul 2013 22:24:52 +0000 (18:24 -0400)
committerColin Walters <walters@verbum.org>
Tue, 23 Jul 2013 22:24:52 +0000 (18:24 -0400)
No idea why we had this, it didn't do anything in the current code.
Noticed while doing other refactoring.

src/ostree/ot-builtin-commit.c

index f4af1b4031958438bdd86277ec2e91a960d0a4c3..544fcec0f65f174d3e10f35b66b923e5abcbb1a4 100644 (file)
@@ -29,7 +29,6 @@ static char *metadata_text_path;
 static char *metadata_bin_path;
 static char *subject;
 static char *body;
-static char *parent;
 static char *branch;
 static char **metadata_strings;
 static char *statoverride_file;
@@ -49,7 +48,6 @@ static GOptionEntry options[] = {
   { "metadata-variant", 0, 0, G_OPTION_ARG_FILENAME, &metadata_bin_path, "File containing serialized variant, in host endianness", "path" },
   { "add-metadata-string", 0, 0, G_OPTION_ARG_STRING_ARRAY, &metadata_strings, "Append given key and value (in string format) to metadata", "KEY=VALUE" },
   { "branch", 'b', 0, G_OPTION_ARG_STRING, &branch, "Branch", "branch" },
-  { "parent", 'p', 0, G_OPTION_ARG_STRING, &parent, "Parent commit", "commit" },
   { "tree", 0, 0, G_OPTION_ARG_STRING_ARRAY, &trees, "Overlay the given argument as a tree", "NAME" },
   { "owner-uid", 0, 0, G_OPTION_ARG_INT, &owner_uid, "Set file ownership user id", "UID" },
   { "owner-gid", 0, 0, G_OPTION_ARG_INT, &owner_gid, "Set file ownership group id", "GID" },